<%@ taglib prefix="c" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: TT
  Date: 2020/9/3
  Time: 16:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
    <link rel="stylesheet" href="css/index2.css">
</head>
<body>
   <table>
       <tr>
           <th>编号</th>
           <th>歌手</th>
           <th>评分</th>
       </tr>
      <C:forEach items="${pf}" var="a">
          <tr>
              <td>${a.sid}</td>
              <td>
                  <C:forEach items="${a.clist}" var="s">
                      ${s.cname}
                  </C:forEach>
              </td>
              <td>${a.score}</td>
          </tr>
      </C:forEach>
   </table>
<form action="pf.do" method="post">
    <input type="submit" value="回到主页面">
</form>
</body>
</html>
